import Axios from "axios"
import HttpsProxyAgent from "https-proxy-agent/dist/agent"

export function proxyAxios() {

    const httpsAgent = new HttpsProxyAgent(`http://localhost:10809`)
    const axios = Axios.create({
        proxy: false,
        httpsAgent
    })

    return axios
}